package com.mygdx.snakegame;

import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

public abstract class State {
    public  GameStateManager gsm;
    public OrthographicCamera cam;
    public  State(GameStateManager gsm)
    {
        cam=new OrthographicCamera();
        this.gsm=gsm;
    }

    public abstract void handleinput();
    public abstract void update(float dt);
    public abstract void render(SpriteBatch sb);
}

